package com.xyq.job.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xyq.job.domain.message.MessageText;
import com.xyq.job.mapper.MessageTextMapper;
import com.xyq.job.service.MessageTextService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageTextServiceImpl extends ServiceImpl<MessageTextMapper , MessageText> implements MessageTextService {

    // 批量插入数据库
    @Override
    public boolean batchInsert( List<MessageText> messageTextList){
        return saveBatch(messageTextList);
    }

}
